#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time: 2022/9/16 15:57
# @Author: 刘航
# @Email: xxx@gmail.com
# @File：change_cule_page.py

from selenium.webdriver.common.by import By
from pages.base_page import BasePage
from selenium.webdriver.support.select import Select

class ChangeCulePage(BasePage):
    """线索转化客户界面"""
    save_btn_locator = (By.CSS_SELECTOR,"input.btn:nth-child(1)")
    select_cust_locator = (By.ID,"remove")
    def click_save_btn(self):
        """点击保存按钮"""
        self.driver.find_element(*self.save_btn_locator).click()
    def select_cust_pool(self):
        """点击放入客户池"""
        self.driver.find_element(*self.select_cust_locator).click()
